Skip to content

refactor: remove gladia energy filtering - #8577

Merged
chenghao-mou merged 1 commit into
mainfrom
chenghao/refactor/AGT-3678-remove-gladia-energy-filter
Nov 15, 2026
Merged

chenghao-mou merged 1 commit into
mainfrom
chenghao/refactor/AGT-3678-remove-gladia-energy-filter

Conversation

@chenghao-mou

@chenghao-mou chenghao-mou commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Gladia's optional energy filter drops silence before upload, which misaligns transcript timestamps. Remove the filter and forward all audio.

Remove AudioEnergyFilter imports and update constructors:

# Before
gladia.STT(energy_filter=True)
# After
gladia.STT()

Previously enabled filters no longer drop silence or trigger recording completion after quiet periods. Default behavior is unchanged.

Addresses AGT-3678. Related: livekit/agents#7651.

Related STT work: connection refactor and stacked timestamp fixes.

Agent context

Models: Claude Fable 5.2 and GPT-6.1.

Remove Gladia's energy filter in a separate PR, independent of the STT timestamp fix.

@chenghao-mou
chenghao-mou marked this pull request as ready for review November 15, 2026 23:16
@chenghao-mou
chenghao-mou requested a review from a team as a code owner November 15, 2026 23:16

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@chenghao-mou
chenghao-mou merged commit c927b7a into main Nov 15, 2026
27 checks passed
@chenghao-mou
chenghao-mou deleted the chenghao/refactor/AGT-3678-remove-gladia-energy-filter branch November 15, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants